package com.zhuojy.equity.mall.admin.common.entity.po.car;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 油卡充值实体类
 * @author xrz
 * @version 1.0
 * @description:TODO
 * @date 2024/4/1 20:43
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_car_fuelcard_release")
public class TCarFuelCardReleasePO {

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 充值人
     */
    private String nickName;
    /**
     * 油卡名称
     */
    private String fuelcardName;
    /**
     * 油卡类型
     */
    @TableField(exist = false)
    private String fuelcardType;
    /**
     * 充值金额
     */
    private String releaseAmount;
    /**
     * 充值人
     */
    private String releaseUser;
    /**
     * 类型 0 充值 1消费
     */
    private Integer type;
    /**
     * 充值时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;
    /**
     * 充值金额
     */
    @TableField(exist = false)
    private String summoney;
    /**
     * 车牌号
     */
    private String releaseCarnumber;
}
